package com.vvv.designpattern.pojo;

import com.vvv.designpattern.ordermanagement.state.OrderState;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author vvv
 * @date 2023-11-20 10 41
 * discription
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    // 全局id
    private String orderId;
    // 商品信息id
    private String productId;
    // 状态
    private OrderState orderState;
    // 商品价格
    private Float price;
}
